package com.zixuan.service;


import com.zixuan.common.Result;
import com.zixuan.common.dto.DeviceMangerRequestDTO;
import com.zixuan.entity.DeviceMannerEntity;
import org.springframework.web.bind.annotation.PathVariable;

public interface DeviceService {

    Result addDevice(DeviceMannerEntity deviceMannerEntity);

    Result findDeviceById(String deviceId);

    Result findAllDevice(String start, String end);

    Result delDeviceBydIds(String id);

    Result updateDevice(DeviceMannerEntity deviceMannerEntity);


    Result findDeviceByCondition(DeviceMangerRequestDTO dto);

}
